package com.ruoyi.iot.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("iot_data_pressure")
public class IotDataWaterPressure extends IotSensor {
    private static final long serialVersionUID=1L;

    /**
     * 设备ID
     */
    private String deviceId;
    /**
     * 遥测设备ID
     */
    private String remoteId;
    /**
     * 监测时间
     */
    private Date reportTime;

    private String waterLevel;
    /**
     * 当前监测值-设置5分钟获取一次
     */
    private String value;
    /**
     * 报文值
     */
    private String reportText;
    //经度
    @TableField(exist = false)
    private String longitude;
    //纬度
    @TableField(exist = false)
    private String latitude;

    @TableField(exist = false)
    private String sensorId;

    @TableField(exist = false)
    private String sensorName;

    @TableField(exist = false)
    private String stationId;

    @TableField(exist = false)
    private String stationName;

    @TableField(exist = false)
    private String sensorType;

    @TableField(exist = false)
    private List<Map<String,Object>> historyData;
}
